.class Lcom/instagram/android/creation/b/bt;
.super Ljava/lang/Object;
.source "FollowersShareFragment.java"

# interfaces
.implements Ljava/util/Observer;


# instance fields
.field final synthetic a:Lcom/instagram/android/creation/b/bs;


# direct methods
.method constructor <init>(Lcom/instagram/android/creation/b/bs;)V
    .locals 0
    .parameter

    .prologue
    .line 106
    iput-object p1, p0, Lcom/instagram/android/creation/b/bt;->a:Lcom/instagram/android/creation/b/bs;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 3
    .parameter "observable"
    .parameter "data"

    .prologue
    .line 109
    iget-object v0, p0, Lcom/instagram/android/creation/b/bt;->a:Lcom/instagram/android/creation/b/bs;

    const/4 v1, 0x0

    invoke-static {v0, v1}, Lcom/instagram/android/creation/b/bs;->a(Lcom/instagram/android/creation/b/bs;Z)Z

    .line 111
    check-cast p2, Landroid/location/Location;

    .line 112
    .end local p2
    check-cast p1, Lcom/instagram/android/m/a;

    .line 114
    .end local p1
    invoke-virtual {p1, p2}, Lcom/instagram/android/m/a;->d(Landroid/location/Location;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 115
    iget-object v0, p0, Lcom/instagram/android/creation/b/bt;->a:Lcom/instagram/android/creation/b/bs;

    invoke-static {v0, p2}, Lcom/instagram/android/creation/b/bs;->a(Lcom/instagram/android/creation/b/bs;Landroid/location/Location;)V

    .line 118
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/instagram/android/creation/b/bt;->a:Lcom/instagram/android/creation/b/bs;

    invoke-virtual {v1}, Lcom/instagram/android/creation/b/bs;->j()Landroid/support/v4/app/j;

    move-result-object v1

    const-class v2, Lcom/instagram/android/foursquare/NearbyVenuesService;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 120
    const-string v1, "location"

    invoke-virtual {v0, v1, p2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;

    .line 121
    iget-object v1, p0, Lcom/instagram/android/creation/b/bt;->a:Lcom/instagram/android/creation/b/bs;

    invoke-virtual {v1}, Lcom/instagram/android/creation/b/bs;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/support/v4/app/j;->startService(Landroid/content/Intent;)Landroid/content/ComponentName;

    .line 123
    :cond_0
    return-void
.end method
